package com.lottery.material.enumeration.promotion;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：推广规则配置枚举类
 * Created by 朱正磊 on 2019-04-15 16:57
 */
@Getter
public enum PromotionRuleConfigEnum implements BaseEnum {

    // 推广类型（1：圈子内文章推广；2：群聊内文章推广；3：其他文章推广）
    PROMOTION_TYPE_ARTICLE_IN_CIRCLE("PROMOTION_TYPE", 1, "圈子内文章推广"),
    PROMOTION_TYPE_ARTICLE_IN_GROUP("PROMOTION_TYPE", 2, "群聊内文章推广"),
    //PROMOTION_TYPE_ARTICLE_IN_OTHER("PROMOTION_TYPE", 3, "其他文章推广"),
    ;

    private String code;
    private Object value;
    private String description;

    PromotionRuleConfigEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String PROMOTION_TYPE = "PROMOTION_TYPE";

}
